<html>
<head>
<title></title>
<script>
  var assert = xwalk.app.test.assert;
  var getManifestTest = function(resolve) {
    xwalk.app.runtime.getManifest(function(manifest) {
      assert(manifest);
      assert(manifest.name === "xwalk.app API Test");
      assert(manifest.version === "1.0");
      assert(manifest.manifest_version === 1);
      resolve();
    });
  };

  var tests = [
    getManifestTest,    
  ];

  function onLoad() {
    xwalk.app.test.runTests(tests, 10000);
  }

</script>
</head>
<body onload = "onLoad()">
</body>
</html>
